package com.lijian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lijian.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

   /* @Select("select * from t_menu")
    public List<Menu> findAll();*/

    //@sukai-cheng在此处修改
    // @Select("select t_menu.id, t_menu.name,price,flavor,t_type.name type from t_menu,t_type where t_menu.tid = t_type.id limit #{index},#{limit}")
    // List<Menu> findAll(Integer index,Integer limit);

}
